package mylab.javainterface;

public class Sheep implements Animal{
	private String name;
	public Sheep(String nm)
	{
		name=nm;
	}
	
	public void speak()
	{
		System.out.println("The Sheep says: Meoooooo, I am "+name );
	}

}
